package com.shuyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tbl_message")
@ApiModel(description = "用户留言")
public class Message implements Serializable {
    private static final long serialVersionUID = 5876004623192475078L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "用户ID")
    private Long customerId;
    @ApiModelProperty(value = "用户名")
    private transient String username;
    @ApiModelProperty(value = "留言内容")
    private String message;
    @ApiModelProperty(value = "回复内容")
    private String reply;
    @ApiModelProperty(value = "留言时间")
    private Date createTime;
    @ApiModelProperty(value = "回复时间")
    private Date replyTime;
    @ApiModelProperty(value = "回复状态0未回复 1已回复")
    private Integer status;
    @ApiModelProperty(value = "回复评分")
    private Integer score;
    @ApiModelProperty(value = "得分理由")
    private String scoreReason;
    @ApiModelProperty(value = "回复类型 初次回复/追加回复")
    private String replyType;
    @ApiModelProperty(value = "是否结束0未结束 1已结束")
    private Integer finishStatus;
    @ApiModelProperty(value = "删除状态0未删除 1删除")
    private Integer delFlag;
    @ApiModelProperty(value = "阅读状态，0未读，1已读")
    private Integer readStatus;
    @ApiModelProperty(value = "删除时间")
    private Date delTime;
    @ApiModelProperty(value = "阅读时间")
    private Date readTime;

}
